import { isDate, isNumber, isObject, isFunction } from './regs/base'
import { isQQ, isName, isMobile, isCreditId } from './regs/data'
import { formatDate, formatMoney } from './format'
import { encryptPhone } from './encrypt'
import { polling, throttle, debounce, onlyNumberMax } from './perform'
import url from './url'

const Utils = {
	isDate,
	isNumber,
	isObject,
	isFunction,

	isQQ,
	isName,
	isMobile,
	isCreditId,

	formatDate,
	formatMoney,

	encryptPhone,

	polling,
	throttle,
	debounce,
	onlyNumberMax,

	url
}
export default Utils
